﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace ExcelMergeTool
{
    public class ExcelData
    {
        private string _value;
        public string Value
        {
            get
            {
                return _value;
            }
            set
            {
                _value = value;
                int.TryParse(_value, out _intValue);
            }
        }

        public int RowIndex { get; set; }

        public int ColumnIndex { get; set; }

        public int SheetIndex { get; set; }

        public string RowHeaderName { get; set; }

        public string ColumnHeaderName { get; set; }

        public string SheetName { get; set; }

        public string WorkbookName { get; set;}


        private int _intValue;
        public int ValueInt32
        {
            get
            {
                return _intValue;
            }
        }
    }
}
